package com.njtech.pet.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lxj
 * Date:2020-03-09 14:19
 * Description:行为类
 */
public class Action implements Serializable {
    public Integer id;
    public User user;
    public Item item;
    public Bill bill;
    public String action;
    public Date createDate;
    public String state;
    public Date updateDate;
    public String remark;

    public Action() {
    }

    public Action(Integer id, User user, Item item, Bill bill, String action, Date createDate, String state, Date updateDate, String remark) {
        this.id = id;
        this.user = user;
        this.item = item;
        this.bill = bill;
        this.action = action;
        this.createDate = createDate;
        this.state = state;
        this.updateDate = updateDate;
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Action{" +
                "id=" + id +
                ", user=" + user +
                ", item=" + item +
                ", bill=" + bill +
                ", action='" + action + '\'' +
                ", createDate=" + createDate +
                ", state='" + state + '\'' +
                ", updateDate=" + updateDate +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Bill getBill() {
        return bill;
    }

    public void setBill(Bill bill) {
        this.bill = bill;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Item getItem() {
        return item;
    }

    public void setItem(Item item) {
        this.item = item;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
